package com.zygh.lz.dao;

import com.zygh.lz.entity.Xdeclare;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XdeclareMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Xdeclare record);

    int insertSelective(Xdeclare record);

    Xdeclare selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Xdeclare record);

    int updateByPrimaryKey(Xdeclare record);

    //根据上报人 接收人 和审批状态查询
    List<Xdeclare> findXdeclareByid(@Param("appear") Integer appear,
                                    @Param("accepter") Integer accepter,
                                    @Param("state") String state);

}